import axios from "@/http.js";
// 获取汇率
export const get_exchange_rate = (params) => {
    return axios.request({
        url: '/system.v1/common/exchange/rate',
        method: 'get',
        params: params
    })
}
// PC交易初始化
export const get_tradeInit = (params) => {
    return axios.request({
        url: '/system.v1/common/tradeInit',
        method: 'get',
        params: params
    })
}
// 佣金计算器
export const get_common_reckon = (params) => {
    return axios.request({
        url: '/system.v1/common/reckon',
        method: 'get',
        params: params
    })
}
// 收费规则
export const get_common_scheme = (params) => {
    return axios.request({
        url: '/system.v1/common/scheme',
        method: 'get',
        params: params
    })
}
// 发送短信
export const get_sms_send = (params) => {
    return axios.request({
        url: '/system.v1/sms/send',
        method: 'get',
        params: params
    })
}
// 发送检测短信?
export const get_sms_check = (params) => {
    return axios.request({
        url: '/system.v1/sms/check',
        method: 'get',
        params: params
    })
}
// 单图片上传
export const get_common_upload = (data) => {
    return axios.request({
        url: '/system.v1/common/upload',
        method: 'post',
        data
    })
}